package com.lovo.service;

import com.github.pagehelper.PageInfo;
import com.lovo.model.Authority;

import java.util.List;

public interface AuthorityService{


    PageInfo<Authority> listByPage(int pageNo, int pageSize,Authority a);

    boolean addAuthority(Authority a);

    boolean deleteAuthority(int authorityId);

    boolean updateAuthority(Authority a);

    List<Authority> getAllAuthority();
}
